//
//  WCTPostMess.h
//  WeChatTool
//
//  Created by TerryChe on 2016/12/5.
//  Copyright © 2016年 TerryChe. All rights reserved.
//

#import <Foundation/Foundation.h>

static NSString* str_chatmsg_talter = @"ad_chatting_talter";
static NSString* str_chatmsg_content = @"ad_chatting_content";
static NSString* str_chatmsg_issend = @"ad_chatting_issend";
static NSString* str_chatmsg_resvred = @"ad_chatting_resvred";
static NSString* str_chatmsg_wechatid = @"ad_wechat_id";
static NSString* str_chatmsg_sate = @"ad_chatting_sate";
static NSString* str_chatmsg_time = @"ad_chatting_time";
static NSString* str_chatmsg_sermsgid = @"ad_sermsgid";

@interface WCTChatMsg : NSObject

//接收人ID
@property (nonatomic, strong) NSString* talter;

//聊天内容
@property (nonatomic, strong) NSString* content;

//发送类型
@property (nonatomic, assign) NSInteger issend;

//内容格式
@property (nonatomic, strong) NSString* resvred;

//上传人的微信号
@property (nonatomic, assign) NSString* wechatID;

//内容状态
@property (nonatomic, assign) NSInteger sate;

//时间
@property (nonatomic, strong) NSString* time;

//聊天记录服务器ID
@property (nonatomic, strong) NSString* sermsgID;

+ (instancetype)WCTChatMsgByTalter:(NSString *)talter
                            Content:(NSString *)content
                             Issend:(NSInteger)issend
                            Resvred:(NSString *)resvred
                           WechatID:(NSString *)wechatID
                               Sate:(NSInteger)sate
                               Time:(NSString *)time
                          SermsgID:(NSString *)sermsgID;

- (NSDictionary *)convertToDic:(BOOL)hasExpand;

@end
